package com.prs.crm.dao.cdxh;
import java.io.Serializable;
import java.util.List;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.cdxh.Cdstock;



public interface CdstockDao extends BaseDao<Cdstock> {
	
	List<Cdstock> getAllStock();
	
	void saveOrUpdate(Cdstock cdstock);
	
	public Cdstock getCdstockById(Serializable id);
	/**
	 * 根据产品编号和产品名称
	 * @param productCode
	 * @param productName
	 * @return
	 */
	Cdstock getCdstock(String productCode,String productName);
	/**
	 * 
	 * @param cdStock
	 */
	void   saveOrStock(Cdstock  cdStock);
	
}